<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>Form Exercise</title>
	</head>
	<body>
		<form name="login" method="post" action="">
			<p>姓名：<input type="text" name="name"/></p>
			<p>密码：<input type="password" name="password"/></p>
			<p>性别：
				<input type="radio" name="gender" value="male"/>男
				<input type="radio" name="gender" value="female"/>女
			</p>
			<p>爱好：
				<input type="checkbox" name="sing"/>唱歌
				<input type="checkbox" name="run"/>跑步
				<input type="checkbox" name="swim"/>游泳
			</p>
			<p>照片：<button type="button">选择文件</button>未选择任何文件</p>
			<p>个人描述：<textarea name="personal description" cols="35" rows="2"></textarea></p>
			<p>籍贯：
				<select name="hometown">
					<option value="Chongqing">重庆</option>
					<option value="Tianjin">天津</option>
					<option value="Beijing" selected="on">北京</option>
					<option value="Shanghai">上海</option>
				</select>
			</p>
			<p>
				<button type="submit">提交</button>
				<button type="reset">重置</button>
			</p>
		</form>
	</body>
</html>
